/**
 * 
 */
package com.wolfpire.system.dao;

import java.util.List;

import com.wolfpire.system.common.base.dao.IBaseHibernateDao;
import com.wolfpire.system.model.OrgUserRelation;
import com.wolfpire.system.model.ProfessionSubjectRelation;
import com.wolfpire.system.model.UserGroupSubjectRelation;
import com.wolfpire.system.model.UserGroupUserRelation;

/**
 * 用户组课程关联表持久层接口
 * @author lihd
 *
 */
public interface UserGroupUserRelationDao extends IBaseHibernateDao<UserGroupUserRelation, Long> {
	
	/**
	 * 绑定用户组和学科之间的关系
	 * @param userId
	 * @param orgId
	 */
	public void relate(Long usergroupId, Long userId);
	
	public void relate(Long usergroupId, List<Long> userIds);
	
	/**
	 * 获取用户组获取学科
	 * @param userId
	 */
	public UserGroupUserRelation getUGSRelation(Long usergroupId);
	

}
